#-------------------------------------------------
#
# Project created by QtCreator 2018-03-26T19:54:25
#
#-------------------------------------------------

QT       += core gui sql widgets sql xlsx webenginewidgets
qtHaveModule(printsupport): QT += printsupport
requires(qtConfig(tableview))

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = QTPro
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += \
        main.cpp \
        mainwindow.cpp \
    logindialog.cpp \
    ApplyDelegate.cpp \
    DataFilterDialog.cpp \
    descrypt.cpp \
    qzint.cpp \
    printerdialog.cpp
    printerdialog.cpp

HEADERS += \
        mainwindow.h \
    initdb.h \
    logindialog.h \
    ApplyDelegate.h \
    DataFilterDialog.h \
    descrypt.h \
    qzint.h \
    printerdialog.h
    printerdialog.h

FORMS += \
        mainwindow.ui \
    logindialog.ui \
    datafilterdialog.ui \
    printerdialog.ui \
    printerdialog.ui

DISTFILES +=

RESOURCES += \
    resource.qrc


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/zint-lib2.4.3/lib/release/ -lzint.dll
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/zint-lib2.4.3/lib/debug/ -lzintd.dll
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/zint-lib2.4.3/lib/release/ -lzlib125.dll
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/zint-lib2.4.3/lib/debug/ -lzlib125d.dll
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/zint-lib2.4.3/lib/release/ -llibpng15.dll
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/zint-lib2.4.3/lib/debug/ -llibpng15d.dll

INCLUDEPATH += $$PWD/zint-lib2.4.3/include
DEPENDPATH += $$PWD/zint-lib2.4.3/include


macx: LIBS += -L$$PWD/../../../../../../usr/local/Cellar/zint/2.6.3/lib/ -lzint.2.6.2

INCLUDEPATH += $$PWD/../../../../../../usr/local/Cellar/zint/2.6.3/include
DEPENDPATH += $$PWD/../../../../../../usr/local/Cellar/zint/2.6.3/include
